<!--
Persistent Digital Archives and Library System (PeDALS)
(c) 2008 - All Rights Reserved
//-->
<?php
/*the following configuration information is local to the network which is hosting the Web Admin web server and admin catalog SQL server*/
$serverName = "sql_server_name";
$connectionInfo = array("UID" => "username", "PWD" => "password", "Database"=>"database_name");
/* If using Windows Authentication we can use the following line instead which is without the UID and PWD*/
/*$connectionInfo = array( "Database"=>"database_name");*/

/*create connection with SQL server*/
$conn = sqlsrv_connect($serverName, $connectionInfo);
/* if connection cannot be established with the SQL server, then print that to the user, otherwise connect*/
if( $conn )
{
     /*echo "Connection established.\n";*/
}
else
{
     echo "The connection could not be established.  Please contact your PeDALS Administrator.\n";
/*     die( print_r( sqlsrv_errors(), true));*/
	 die;
}

/*URL of the location of item records on the manifest server -- all the way up to but not including the file path -- but not including the last backslash*/
$manifestURL = "http://servename_and_path_to/submitted";

/*Part of the dropbox location (stored on acqusition form) that gets stripped out in order to create the manifest URL*/
$dropboxPathToStrip = "\\servename_and_path_to\submitted\\";

/*URL of the location of the superpackages on the manifest server -- all the way up to but not including the file path*/
$superpackagesURL = "http://servename_and_path_to/superpackages/";

/*the superpackages directory, from the point of view of the aipmanifest.php file's location on the manifest server*/
$dir = "../superpackages/";

?>
